class Example{

    static void main(String[] args){
        Date date = new Date()
        println(date.toString())

        def date2 = new Date(100);
        println(date2.toString())

        println("now is after 2020.08.10:"+date.after(new Date("2020/08/10")))
        println(date.getTime());
    }
}